let config = {}

// 正则
config.Reg = {
    alphabet: /^[0-9a-zA-Z]{1,32}$/, // 只能输入大小写字母和数字的组合
    assetNo: /^\d{0,5}$/,
    decimal: /^(((\d|[1-9]\d)(\.\d{1,2})?)|100|100.0|100.00)$/, // 0-100保留两位有效数字
    driveNo: /^(^\d{12})$/,
    email: /^[a-zA-Z0-9_.-]+@[A-Za-z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/,
    fixedtelephone: /(^(0\d{2,3}-\d{7,8})(-\d{1,4})?$)|(^[1][3,4,5,7,8][0-9]{9}$)/,
    idCard: /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/,
    inExpAmount: /^(0|[1-9]\d{0,17})(\.\d{0,2})?$/,
    inExpAmountNotZero: /^(?!0+(?:\.0+)?$)(?:[1-9]\d{0,9}|0)(?:\.\d{1,2})?$/,
    intVal: /^[0-9]\d*$/,
    intHundred: /^(([1-9]\d?))$/,
    licenseNo: /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-Z0-9]{4,5}[A-Z0-9挂学警港澳]{1}$/,
    mobile: /^((13[0-9])|(14[5,7])|(15[0-3,5-9])|(16[6])|(17[0,1,3,5-8])|(18[0-9])|(19[8,9]))\d{8}$/,
    numAndWord: /^[a-zA-Z\d]{17}$/, // 英文+数字/^([0-9A-Z]){17}$/
    NumAndWord: /^(?:(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])).{6,18}$/, // 大小写字母加数字
    number: /^([1-9]\d*|0)(\.\d{1,10})?$/,
    numberDec: /^\d{1,8}(\.\d{1,2})?$/, // 小数点前限制8位，小数点后保留两位
    numberDecimal: /^(([1-9]\d*|0)(|\.\d{1,2}))$/, // 最多保留两位数字
    oneToZero: /^(0(\.\d{0,2})?|1)$/, // 0-1之间
    password: /^(?=.*[0-9].*)(?=.*[A-Z].*)(?=.*[a-z].*).{6,16}$/, // 与app端同步的客户密码正则
    tel: /^(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}$/,
    twoNumber: /^\d+(\.\d{0,2})?$/,
    wordAndNum: /^[a-zA-Z\d]+$/
}

config.corpNo = 'CO1551066278067'
// config.sysId='8F11C0EFFEEB55979BFE0735B7345C39';

export default config
